.class public LHelloAndroid/workspace/HelloAndroidActivity;
.super Landroid/app/Activity;
.source "HelloAndroidActivity.java"


# instance fields
.field app:LHelloAndroid/workspace/instrumentation;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 10
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .registers 4
    .parameter "savedInstanceState"

    .prologue
    .line 17
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 18
    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 19
    .local v0, tv:Landroid/widget/TextView;
    const-string v1, "Hello, Android"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 20
    invoke-virtual {p0, v0}, LHelloAndroid/workspace/HelloAndroidActivity;->setContentView(Landroid/view/View;)V

    .line 24
    invoke-virtual {p0}, LHelloAndroid/workspace/HelloAndroidActivity;->print()V

    .line 28
    return-void
.end method

.method public print()V
    .registers 4
invoke-static {}, LHelloAndroid/workspace/instrumentation;->before()V

    .prologue
    .line 40
    invoke-virtual {p0}, LHelloAndroid/workspace/HelloAndroidActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "show test"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 53
    return-void
.end method